<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Carbon;


class Advert extends Model
{
    use SoftDeletes;
    protected $table ='advert';

    public function user(){
        return $this->belongsTo('App\Models\User','user_id','id');
    }
}
